`ifndef TEST_SV
`define TEST_SV

`include "intf_class.svh"
`include "car.svh"
`include "insurer.svh"
`include "driver.svh"

module automatic test;
	initial begin
		car the_car = new(3, 5); // 排量为3，事故数为5
		driver the_driver = new(the_car);
		insurer the_insurer = new(the_car);
		the_driver.drive();
		the_insurer.insure();
	end
endmodule

`endif
